export default {
    path: '/user.html',
    name: 'user',
    component: resolve => require(['../views/user/index.vue'], resolve),
    meta: {
        title: '用户中心',
            requireAuth: true,
            userType: 'user'
    },
    children: [
        {
            path: '/user/center.html',
            name: 'user-center',
            component: resolve => require(['../views/user/center/index.vue'], resolve),
            meta: {
                title: '用户中心',
                requireAuth: true,
                userType: 'user'
            }
        },
        {
            path: '/user/golds.html',
            name: 'user-golds',
            component: resolve => require(['../views/user/golds/index.vue'], resolve),
            meta: {
                title: '我的资产',
                requireAuth: true,
                userType: 'user'
            }
        },
        {
            path: '/user/history.html',
            name: 'user-history',
            component: resolve => require(['../views/user/history/index.vue'], resolve),
            meta: {
                title: '流水记录',
                requireAuth: true,
                userType: 'user'
            }
        },
        {
            path: '/user/cash.html',
            name: 'user-cash',
            component: resolve => require(['../views/user/cashs/index.vue'], resolve),
            meta: {
                title: '资金提现',
                requireAuth: true,
                userType: 'user'
            }
        },
        {
            path: '/user/cash_details.html',
            name: 'user-cash_details',
            component: resolve => require(['../views/user/cash_details/index.vue'], resolve),
            meta: {
                title: '资金提现',
                requireAuth: true,
                userType: 'user'
            }
        },
        {
            path: '/user/order.html',
            name: 'user-order',
            component: resolve => require(['../views/user/order/index.vue'], resolve),
            meta: {
                title: '下注列表',
                requireAuth: true,
                userType: 'user'
            }
        },
        {
            path: '/user/order_details.html',
            name: 'user-order_details',
            component: resolve => require(['../views/user/order_details/index.vue'], resolve),
            meta: {
                title: '下注明细',
                requireAuth: true,
                userType: 'user'
            }
        },
        {
            path: '/user/rule.html',
            name: 'user-rule',
            component: resolve => require(['../views/user/rule/index.vue'], resolve),
            meta: {
                title: '规则说明',
                requireAuth: true,
                userType: 'user'
            }
        },
        {
            path: '/user/history_data.html',
            name: 'user-history_data',
            component: resolve => require(['../views/user/history_data/index.vue'], resolve),
            meta: {
                title: '历史开奖',
                requireAuth: true,
                userType: 'user'
            }
        },
        {
            path: '/user/p.html',
            name: 'user-p',
            component: resolve => require(['../views/user/upass/index.vue'], resolve),
            meta: {
                title: '修改密码',
                requireAuth: true,
                userType: 'user'
            }
        },
        {
            path: '/user/claim.html',
            name: 'user-claim',
            component: resolve => require(['../views/user/claim/index.vue'], resolve),
            meta: {
                title: '索取金币',
                requireAuth: true,
                userType: 'user'
            }
        }
    ]
}